/*
 * Categoria.java
 *
 * Created on 15 de septiembre de 2007, 20:28
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package region;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Entity
public class Categoria implements Serializable {

    @Id
    private Long id;
    private String categoria;
    
   
    public Categoria() {
    }

  
    public Long getId() {
        return this.id;
    }

   
    public void setId(Long id) {
        this.id = id;
    }
 
    @Override
    public String toString() {
        return "region.Categoria[id=" + id + "]";
    }

    public String getCategoria() {
        return categoria;
    }

    public void setCategoria(String categoria) {
        this.categoria = categoria;
    }
    
}
